<template>
	<view class="my-info">
		<my-useriInfo v-if="token "></my-useriInfo>
		<!-- <my-useriInfo ></my-useriInfo> -->
		<my-login v-else></my-login>
	</view>
</template>

<script>
	import tabBar from '@/mixins/tarbar.js'
	import {mapState} from 'vuex'
	export default {
		mixins:[tabBar],
		data() {
			return {
				
			};
		},
		computed:{
			...mapState('m_user',['token'])
		}
	}
</script>

<style lang="scss">
page,.my-info{
	height: 100%;
}
</style>
